package xyz.syyrjx.blog.dao.type;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xyz.syyrjx.blog.entity.Types;

import java.util.List;

@Mapper
public interface TypeDao {
    public List<Types> selectType(Types template,Integer start,Integer num);
    public int countTypes();
    public int insertType(Types type);
    public int updateType(Types type);
    public int updateTypeId(Long id);
    public int deleteType(Types type);
}
